<?php
class Provider_poundage_profit_model extends BZ_Model
{
    protected $table = 'provider_poundage_profit';

    /**
     * 检查供应商对应信息
     * @param $user_related_id
     * @return mixed
     */
    public function providerPoundageProfit($user_related_id)
    {
        $this->db->select('user_related_id,uid,bit_trade,poundage');
        $this->db->from($this->table);
        $this->db->where('user_related_id', $user_related_id);
        return $this->db->get();
    }
}